package com.tongji.housediy.events.UserLoadandRegisterEvent
{
	import flash.events.Event;
	

	/**
	 * 
	 * @author songjia
	 * 
	 */
	public class LoginEvent extends Event
	{	
		public static const USER_LOGIN:String = "userLogin";
		public static const UPDATE_USER:String = "updateUser";
		public static const LOGIN_SUCCESS:String = "loginSuccess";
		
		public var userName:String;
		public var password:String;
		public var userID:String;
		
		public function LoginEvent(type:String, userName:String = '', password:String = '', userID:String = '')
		{
			super(type);
			this.userName = userName;
			this.password = password;
			this.userID = userID;
		}
		
		override public function clone():Event
		{
			return new LoginEvent(type, userName, password, userID);
		}
	}
}